package com.chenqi.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenqi.model.entity.Tip;
import org.springframework.stereotype.Repository;

/**
 * @description: 每日一句名言数据层
 * @program: ardaicommunity
 * @author: ChenQi
 * @create: 2021-03-2021/3/7-10-16
 */
@Repository
public interface TipMapper extends BaseMapper<Tip> {
    /**
     *  随机获取当前的每日一句
     * @return
     */
    Tip getTodayTip();
}
